import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


// 创建  pinia  实例
const pinia = createPinia()

const app = createApp(App)

// 挂载到  vue 根实例
app.use(pinia)
pinia.use(piniaPluginPersistedstate)


app.mount('#app')
